package designMode.compoundPattern;

/**
 * @author LIBOFEI
 * @ClassName AbstractDuckFactory
 * @description 不再显示的创建实例，要保证鸭子一定是被包装起来的，所以天空一声巨响，工厂模式登场
 * @date 2020/7/1 14:52
 * @Version 1.0
 **/
public abstract class AbstractDuckFactory {

    public abstract Quackable createGreenDuck();

    public abstract Quackable createRedDuck();

    public abstract Quackable createDuckCall();

    public abstract Quackable createRubberDuck();
}
